package com.bw.lib_log.logger

import com.bw.lib_log.LoggerLevel

/**
 * 所有logger的顶层接口:开发一般面向抽象和接口编程
 */
interface ILogger {
    fun v(tag: String, log: String)
    fun d(tag: String, log: String)
    fun i(tag: String, log: String)
    fun w(tag: String, log: String)
    fun e(tag: String, log: String)
    //是否为debug
    fun setDebug(isDebug: Boolean)
    //设置日志等级
    fun setLevel(level: LoggerLevel)
    //设置tag
    fun setTag(tag: String)
    //设置存储路径:磁盘地址或者网络地址
    fun setSavaUrl(path: String)
}